package com.cloudfun.msglisten.common.model.dto.dingtalk;

import com.cloudfun.msglisten.common.constant.DingTalkRobotMsgType;
import lombok.Data;

/**
 * Created by Huqin on 2020/5/13
 */
@Data
public class TextContent extends AbsContent {

    private String content;

    public TextContent(String content) {
        super(DingTalkRobotMsgType.TEXT);
        this.content = content;
    }

    @Override
    public void appendContent(String str) {
        content += str;
    }

}
